package wickethub.web.page;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.ResourceModel;

public class BasePage extends WebPage {
	
	public BasePage() {
		setTitle(new ResourceModel("default.title"));
	}

	protected final void setTitle(final IModel<String> m) {
        addOrReplace(new Label("title", m).setEscapeModelStrings(false));
	}
	
}